#ifndef GITSERVER_H
#define GITSERVER_H

#include <QtCore>

class GitServer : public QObject
{
    Q_OBJECT
public:
    GitServer();
    virtual ~GitServer();
    bool startGitServer(const QString &gitProjectsRootPath, int localPort, int extra);
    void closeGitServer();

private:
    QSharedPointer<class QHttpServer> server_;
    QSharedPointer<class Storage> writer_;
};

#endif // GITSERVER_H
